<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body>
    <script>

        // axios('http://127.0.0.1:2000/dd?name=rose', {
        //     username: 'admin',
        //     pwd: '123456'

        // }).then(res => {
        //     console.log(res, 111);

        // })

        async function ajax11111(){
            var  message=await axios('http://127.0.0.1:2000/dd?name=rose')
            console.log(message);
        }
        ajax11111()
        ajax11111()
        
    </script>
</body>

</html>